import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    //测试不同角色入口
    {
      path: '/',
      name: 'login',
      component: resolve => require(['@/views/login'], resolve)
    },
    {
      path: '/register',
      name: 'register',
      component: resolve => require(['@/views/register'], resolve)
    },
    // ...RouterConfig
  ]
})
